package com.gy.pojo;

import java.util.Date;

//公告
public class Notice {
    private Integer Nid;
    private String Nname;
    private String Ntite;
    private String Ntext;
    private Date Ndate;

    public Notice() {
    }

    public Notice(Integer nid, String nname, String ntite, String ntext, Date ndate) {
        Nid = nid;
        Nname = nname;
        Ntite = ntite;
        Ntext = ntext;
        Ndate = ndate;
    }

    public Integer getNid() {
        return Nid;
    }

    public void setNid(Integer nid) {
        Nid = nid;
    }

    public String getNname() {
        return Nname;
    }

    public void setNname(String nname) {
        Nname = nname;
    }

    public String getNtite() {
        return Ntite;
    }

    public void setNtite(String ntite) {
        Ntite = ntite;
    }

    public String getNtext() {
        return Ntext;
    }

    public void setNtext(String ntext) {
        Ntext = ntext;
    }

    public Date getNdate() {
        return Ndate;
    }

    public void setNdate(Date ndate) {
        Ndate = ndate;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "Nid=" + Nid +
                ", Nname='" + Nname + '\'' +
                ", Ntite='" + Ntite + '\'' +
                ", Ntext='" + Ntext + '\'' +
                ", Ndate=" + Ndate +
                '}';
    }
}
